﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RotovapPlatform.Domain.Equipment.Configurations
{
	public class SerialDeviceConfig
	{
		public List<TCUConfig> TCUs { get; set; } = new();
		public List<OilBathConfig> OilBaths { get; set; } = new();
		public List<TemperatureCollectorConfig> TemperatureCollectors { get; set; } = new();

		// ... 其他串口设备配置
	}

	//TCU配置对象
	public class TCUConfig
	{
		public string Name { get; set; }
		public int Port { get; set; }
		public byte SlaveId { get; set; }
	}

	//油浴锅配置对象
	public class OilBathConfig
	{
		public string Name { get; set; }
		public int Port { get; set; }
		public byte SlaveId { get; set; }
	}

	//温度采集模块
	public class TemperatureCollectorConfig
	{
		public string Name { get; set; }
		public int Port { get; set; }
		public byte SlaveId { get; set; }
	}

}
